package com.example.demo.lunar.entity;

import lombok.Data;

/**
 * @author LHH
 * @date 2025/7/1
 */
@Data
public class SolarTermInfo {

    private String name;        // 节气名称

    private int solarYear;      // 阳历年份

    private int solarMonth;     // 阳历月份

    private int solarDay;       // 阳历日期

    private String lunarYearZhi; // 农历年干支

    private String lunarMonth;   // 农历月

    private String lunarDay;     // 农历日

    private int dayOfYear;      // 一年中的第几天（新增字段）

    public SolarTermInfo(String name, Integer solarYear, Integer solarMonth, Integer solarDay,
                         String lunarYearZhi, String lunarMonth, String lunarDay, Integer dayOfYear) {
        this.name = name;
        this.solarYear = solarYear;
        this.solarMonth = solarMonth;
        this.solarDay = solarDay;
        this.lunarYearZhi = lunarYearZhi;
        this.lunarMonth = lunarMonth;
        this.lunarDay = lunarDay;
        this.dayOfYear = dayOfYear;
    }

}
